<tr style="background: <% if line.result==:succeed %>#AFA;<%else%>#DDD<%end%>">
<td><%= line.result %>
<%= line.duplicates.join(',') %>
</td>
<td><%= line.type %></td>
<td>
<% if line.result==:succeed %>
<%= select( :req, "doc_id_#{line.id}", @docs.collect {|p| [ p.title, p.id ] }) %>
<%end%>
</td>
<td><%= line.ref %></td>
<td>
<%= line.req %>
<%= line.error %>
</td>
<% refs = line.for_refs.join(',') %>
<td<% if refs=='' %> style="background: #FAA;"<%end%>><%=refs%></td>
</tr>

